#ifndef _OOGLUTDISPLAYWINDOW_H_
#define _OOGLUTDISPLAYWINDOW_H_

#include "ooengine.h"

class ooGlutDisplayWindow
{
public:
	ooGlutDisplayWindow();
	~ooGlutDisplayWindow();

	void			openWindow();
	void			closeWindow();

	void*			getWindowHandle() const;

	void			setName(const String& name);
	const String&	getName() const;
	void			setSize(int width, int height);
	int				getWidth() const;
	int				getHeight() const;

	void			tick(float elapsed);
protected:
	static void		onWindowClose();
	static void		onWindowRender();

private:
	String			m_name;
	int				m_width;
	int				m_height;
};

#endif